﻿<ArgusControls:FloatingWindow x:Class="Fractals.PreviewWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	xmlns:ArgusControls="clr-namespace:ArgusControls;assembly=ArgusControls"
    mc:Ignorable="d"
	SizeChanged="FloatingWindow_SizeChanged_1" ClientWidth="450" ClientHeight="300" Title="Preview">
	<ArgusControls:FloatingWindow.BorderBrush>
		<LinearGradientBrush EndPoint="1,1" MappingMode="RelativeToBoundingBox" StartPoint="0,0">
			<GradientStop Color="White"/>
			<GradientStop Color="Black" Offset="1"/>
		</LinearGradientBrush>
	</ArgusControls:FloatingWindow.BorderBrush>

	<!--<Border x:Name="borderPreviewImage" BorderThickness="10" BorderBrush="White" HorizontalAlignment="Center" VerticalAlignment="Center">-->
		<Canvas x:Name="previewImageCanvas" Width="450" Height="300">
			<Image x:Name="previewImageBackground" Width="{Binding Width, ElementName=previewImageCanvas}" Height="{Binding Height, ElementName=previewImageCanvas}"/>
			<Image x:Name="previewImage" Width="{Binding Width, ElementName=previewImageCanvas}" Height="{Binding Height, ElementName=previewImageCanvas}"/>
		</Canvas>
	<!--</Border>-->
</ArgusControls:FloatingWindow>
